package com.cv.属性赋值;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.PropertySource;

/**
 * @Auther: 代理仁
 * @Date: 2019/7/9 23:23
 * @Description:
 */
@PropertySource(value = {"classpath:/config.properties"})
public class ValueConfig {

    @Bean
    public Song song(){
        return  new Song();
    }
}
